﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Python
{
    class Depict
    {
        public void WriteAt(string s, int x, int y, int origCol, int origRow)
        {
            // s - simbol which need to print
            try
            {
                Console.CursorVisible = true; // false;
                Console.SetCursorPosition(origCol + x, origRow + y);  
                Console.Write(s);
            }
            catch (ArgumentOutOfRangeException e)
            {
                Console.Clear();
                Console.WriteLine(e.Message);
            }
        }
    }
}
